home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / C / BTCLASS.ZIP / BTCLASS@.EXE / HISTORY.DOC < prev    next >
Encoding:
Text File  |  1992-09-21  |  3.2 KB  |  83 lines

  1. Object Resource Corporation                                         June, 1992
  2.  
  3. Shareware Version 2.02 incorporates the following changes to version 2.01
  4. -------------------------------------------------------------------------
  5. September, 1992
  6.  
  7. 1) BTF_FILE_STAT_SIZE (in BT.H) was incresed by 9 bytes to contain an
  8.    alternate collating sequence's header bytes. (ver 2.01 should have
  9.    added 265 bytes rather that 256!)
  10.  
  11. 2) BT_Key::GetKey implementation - added SetDataMax() call to the key's 
  12.    BT_Buff. This is done so that the key data may be read out of the
  13.    buffer.
  14.  
  15.    NOTE that this was NOT added to the standard data retrieval functions.
  16.    This would have added additional overhead to each call; the key value
  17.    is available in the data buffer.
  18.  
  19. 3) BT_Key::Insert() and BT_Key::Update() implementations were changed. The
  20.    userLen parameter is now processed ONLY if userBuff is-not-NULL. In
  21.    previous versions a non-zero userLen value was processed even if userBuff
  22.    was NULL.
  23.  
  24.    These two functions were also modified to correctly handle variable length
  25.    records by correctly setting the data buffer's data length. Previous
  26.    versions had called the data buffer's SetDataMax() function.
  27.  
  28. Shareware Version 2.01 incorporates the following changes to version 2.0a:
  29. -------------------------------------------------------------------------
  30. June, 1992
  31.  
  32. Some bug fixes...support for Microsoft C++...support for Btrieve op
  33. code 27:
  34.  
  35.  
  36. 1) Spelling of BT_MULTIPLE_WIAT was corrected to read BT_MULTIPLE_WAIT.
  37.    (BT.H)
  38.  
  39. 2) BTF_FILE_STAT_SIZE was increased by 256 bytes to cover the case
  40.    of the maximum number of keys AND and alternate collating sequence
  41.    existing for the file. (BT.H)
  42.  
  43. 3) Friends of classes are now designated with the fuller syntax 'friend
  44.    class friendclass' required by Microsoft compiler.
  45.  
  46. 4) Several #endif statements were missing from the end of some .HPP files.
  47.    Microsoft gagged.
  48.  
  49. 5) Include file <mem.h> changed to <memory.h>.  (BTBUFF.CPP)
  50.  
  51. 6) The library for linking under Borland C++ version 2 is no longer included
  52.    in the shareware version.
  53.  
  54. 7) The library for Borland C++ version 3 is now called SBTBOR3.LIB.
  55.  
  56. 8) A small model library has been included for Microsoft: SBTMS7.LIB.
  57.  
  58. 9) The following functions in class BT_DataSet have been overloaded to allow
  59.    record locking: StepFirst, StepLast, StepNext and StepPrev. (BTDSET.HPP
  60.    and BTDSET.CPP)
  61.  
  62. 10) Access to Btrieve's unlocking function (op code 27) was not included.
  63.     This has been corrected with the addition of the following functions
  64.     to both class BT_DataSet and class BT_Key: Unlock, UnlockRecord and
  65.     UnlockAll.  (BTDSET.HPP, BTDSET.CPP, BTKEY.HPP and BTKEY.CPP)
  66.  
  67.     Unlock() ... use this to unlock a record locked with a SINGLE record
  68.              lock
  69.  
  70.     UnlockRecord() ... use this to remove the currently positioned record
  71.              from a MULTIPLE record lock
  72.  
  73.     UnlockRecord(unsigned long Pos) ... use this to remove the record
  74.              referenced by 'Pos' (the 4 byte position information) from
  75.              a MULTIPLE record lock
  76.  
  77.     UnlockAll() ... this unlocks all records locked as part of a MULTIPLE
  78.              record lock
  79.  
  80.  
  81.  
  82.  
  83.